package com.zyz.system.service.exam;

import com.zyz.common.core.model.TableDataInfo;
import com.zyz.system.model.exam.dto.ExamAddDTO;
import com.zyz.system.model.exam.dto.ExamEditDTO;
import com.zyz.system.model.exam.dto.ExamQueryDTO;
import com.zyz.system.model.exam.dto.ExamQuestionAddDTO;
import com.zyz.system.model.exam.vo.ExamDetailVO;

public interface IExamService {
    TableDataInfo list(ExamQueryDTO examDTO);

    Long add(ExamAddDTO examAddDTO);

    void questionAdd(ExamQuestionAddDTO examQuestionAddDTO);

    ExamDetailVO detail(Long examId);

    void edit(ExamEditDTO examEditDTO);

    void questionDelete(Long examId, Long questionId);

    void delete(Long examId);

    void publish(Long examId);

    void cancelPublish(Long examId);
}
